/// requestNo : null
/// code : 900
/// message : "操作成功"
/// records : {"projectTotal":0,"enterpriseTotal":0,"problemTotal":0}
/// total : null

class MyBlocksM {
  MyBlocksM({
      dynamic requestNo, 
      int? code, 
      String? message, 
      Records? records, 
      dynamic total,}){
    _requestNo = requestNo;
    _code = code;
    _message = message;
    _records = records;
    _total = total;
}

  MyBlocksM.fromJson(dynamic json) {
    _requestNo = json['requestNo'];
    _code = json['code'];
    _message = json['message'];
    _records = json['records'] != null ? Records.fromJson(json['records']) : null;
    _total = json['total'];
  }
  dynamic _requestNo;
  int? _code;
  String? _message;
  Records? _records;
  dynamic _total;
MyBlocksM copyWith({  dynamic requestNo,
  int? code,
  String? message,
  Records? records,
  dynamic total,
}) => MyBlocksM(  requestNo: requestNo ?? _requestNo,
  code: code ?? _code,
  message: message ?? _message,
  records: records ?? _records,
  total: total ?? _total,
);
  dynamic get requestNo => _requestNo;
  int? get code => _code;
  String? get message => _message;
  Records? get records => _records;
  dynamic get total => _total;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['requestNo'] = _requestNo;
    map['code'] = _code;
    map['message'] = _message;
    if (_records != null) {
      map['records'] = _records?.toJson();
    }
    map['total'] = _total;
    return map;
  }

}

/// projectTotal : 0
/// enterpriseTotal : 0
/// problemTotal : 0

class Records {
  Records({
      int? projectTotal, 
      int? enterpriseTotal, 
      int? problemTotal,}){
    _projectTotal = projectTotal;
    _enterpriseTotal = enterpriseTotal;
    _problemTotal = problemTotal;
}

  Records.fromJson(dynamic json) {
    _projectTotal = json['projectTotal'];
    _enterpriseTotal = json['enterpriseTotal'];
    _problemTotal = json['problemTotal'];
  }
  int? _projectTotal;
  int? _enterpriseTotal;
  int? _problemTotal;
Records copyWith({  int? projectTotal,
  int? enterpriseTotal,
  int? problemTotal,
}) => Records(  projectTotal: projectTotal ?? _projectTotal,
  enterpriseTotal: enterpriseTotal ?? _enterpriseTotal,
  problemTotal: problemTotal ?? _problemTotal,
);
  int? get projectTotal => _projectTotal;
  int? get enterpriseTotal => _enterpriseTotal;
  int? get problemTotal => _problemTotal;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['projectTotal'] = _projectTotal;
    map['enterpriseTotal'] = _enterpriseTotal;
    map['problemTotal'] = _problemTotal;
    return map;
  }

}